﻿using System.Data;
using Husb.DataUtil;

namespace CentralOffice.File.Data {
    partial class FileCategoryDataSet
    {
        partial class FileCategoryRow
        {
            #region GenerateFilterExpression
            public string FilterExpression
            {
                get
                {
                    string where = "";

                    //where += DataAccessUtil.GetPartWhereCondition("Id", this);
                    where += DataAccessUtil.GetPartWhereCondition("Name", this);
                    where += DataAccessUtil.GetPartWhereCondition("QueryNumber", this);
                    where += DataAccessUtil.GetPartWhereCondition("OrderNumber", this);
                    where += DataAccessUtil.GetPartWhereCondition("ParentId", this, DbType.Guid);
                    //where += DataAccessUtil.GetPartWhereCondition("IsDeleted", this);
                    //where += DataAccessUtil.GetPartWhereCondition("IsActive", this);
                    //where += DataAccessUtil.GetPartWhereCondition("CreatedTime", this);
                    //where += DataAccessUtil.GetPartWhereCondition("CreatedBy", this);
                    //where += DataAccessUtil.GetPartWhereCondition("ModifiedTime", this);
                    //where += DataAccessUtil.GetPartWhereCondition("LastModifiedBy", this);
                    //where += DataAccessUtil.GetPartWhereCondition("Version", this);
                    //where += DataAccessUtil.GetPartWhereCondition("Description", this);
                    return where;
                }
            }

            #endregion
        }
             
    }
}
